package com.atguigu.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @author Cavan
 * @date 2023-06-11
 * @qq 2069543852
 */
@Component
public class PaymentFallBackService implements PaymentHystrixService{
    @Override
    public String paymentInfo_OK(Integer id) {
        return "-------PaymentFallBackService fall back-paymentInfo_OK, /(ㄒoㄒ)/~~";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "-------PaymentFallBackService fall back-paymentInfo_TimeOut, /(ㄒoㄒ)/~~";
    }
}
